<template>
    <!-- <button @click="$emit('click')">
      {{ text }}
    </button> -->
    <button @click="$emit('click')">
        <slot />
    </button>
</template>
  
<script>
  export default {
    name: 'Button',
    props: {
      text: {
        type: String,
        required: true
      }
    }
  }
</script>